﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Gfw.Web.Models
{
    /// <summary>
    /// 公告查询model
    /// </summary>
    public class AnnouncementQueryModel
    {
        public AnnouncementQueryModel()
        {
            Start = DateTime.Now.AddMonths(-1);
            End = DateTime.Now;
        }
        [Display(Name = "关键字")]
        public string Key { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "查询日期")]
        public DateTime Start { get; set; }

        [DataType(DataType.Date)]
        [Display(Name = "至")]
        public DateTime End { get; set; }
    }
}